package com.java.common.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Job entity. @author MyEclipse Persistence Tools
 */

public class Job implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2204302537860282572L;
	// Fields

	private String jobId;
	private String name;
	private Set<EmpJob> empJobs = new HashSet<EmpJob>(0);
	private Set<JobPermission> jobPermissions = new HashSet<JobPermission>(0);

	// Constructors

	/** default constructor */
	public Job() {
	}

	/** minimal constructor */
	public Job(String jobId) {
		this.jobId = jobId;
	}

	/** full constructor */
	public Job(String jobId, String name, Set<EmpJob> empJobs, Set<JobPermission> jobPermissions) {
		this.jobId = jobId;
		this.name = name;
		this.empJobs = empJobs;
		this.jobPermissions = jobPermissions;
	}

	// Property accessors

	public String getJobId() {
		return this.jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<EmpJob> getEmpJobs() {
		return this.empJobs;
	}

	public void setEmpJobs(Set<EmpJob> empJobs) {
		this.empJobs = empJobs;
	}

	public Set<JobPermission> getJobPermissions() {
		return this.jobPermissions;
	}

	public void setJobPermissions(Set<JobPermission> jobPermissions) {
		this.jobPermissions = jobPermissions;
	}

}